Skip to content

Commit

Permalink
Remove Psalm (#6)
Browse files Browse the repository at this point in the history
* Remove Psalm

* Remove references to Psalm form classes
  • Loading branch information
stefanzweifel committed Mar 18, 2024
1 parent 0e04b10 commit ff107b4
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 59 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/psalm.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ composer.lock
coverage
docs
phpunit.xml
psalm.xml
vendor
.php-cs-fixer.cache

4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^9.5 | ^10",
"vimeo/psalm": "^5"
"phpunit/phpunit": "^9.5 | ^10"
},
"autoload": {
"psr-4": {
Expand All @@ -34,7 +33,6 @@
}
},
"scripts": {
"psalm": "vendor/bin/psalm",
"test": "vendor/bin/phpunit",
"test-coverage": "vendor/bin/phpunit --coverage-html coverage",
"format": "vendor/bin/php-cs-fixer fix --allow-risky=yes"
Expand Down
18 changes: 0 additions & 18 deletions psalm.xml.dist

This file was deleted.

1 change: 0 additions & 1 deletion src/DelimiterProcessor/MarkDelimiterProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

class MarkDelimiterProcessor implements DelimiterProcessorInterface
{
/** @psalm-readonly */
private string $char;

/**
Expand Down
1 change: 0 additions & 1 deletion src/MarkExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Wnx\CommonmarkMarkExtension\Element\Mark;
use Wnx\CommonmarkMarkExtension\Renderer\MarkRenderer;

/** @psalm-api */
class MarkExtension implements ConfigurableExtensionInterface
{
public function register(EnvironmentBuilderInterface $environment): void
Expand Down
2 changes: 0 additions & 2 deletions src/Renderer/MarkRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class MarkRenderer implements NodeRendererInterface
* @param Node $node
*
* {@inheritDoc}
*
* @psalm-suppress MoreSpecificImplementedParamType
*/
public function render(Node $node, ChildNodeRendererInterface $childRenderer): HtmlElement
{
Expand Down

0 comments on commit ff107b4

Please sign in to comment.