ghostwriter / psalm-plugin
Provides a plugin for Psalm
Package info
github.com/ghostwriter/psalm-plugin
Type:psalm-plugin
pkg:composer/ghostwriter/psalm-plugin
0.2.0
2023-08-27 13:19 UTC
Requires
- php: >=8.1
Requires (Dev)
- ghostwriter/coding-standard: dev-main
- ghostwriter/psalm-plugin-tester: ^0.2 || ^0.3 || ^1.0
- psr/container: ^1.1 || ^2.0
- vimeo/psalm: ^5.0 || ^6.0
Replaces
- ghostwriter/example-psalm-plugin: *
- ghostwriter/phpunit-psalm-plugin: *
- 1.0.x-dev
- 0.3.x-dev
- 0.2.x-dev
- 0.2.0
- 0.1.x-dev
- 0.1.1
- 0.1.0
- dev-merge-up/0.3.x-into-1.0.x
- dev-merge-up/0.2.x-into-0.3.x
- dev-composer-boundwize-structarmed-0.11.1
- dev-composer-ghostwriter-coding-standard-dev-main
- dev-phpunit-configuration
- dev-composer-phpunit-phpunit-13.1.14
- dev-dependabot/composer/phpunit/phpunit-13.1.14
- dev-composer-boundwize-structarmed-0.11.0
- dev-composer-boundwize-structarmed-0.10.0
- dev-composer-sebastian-global-state-9.0.1
- dev-composer-phpunit-php-code-coverage-14.1.10
- dev-composer-boundwize-structarmed-0.9.5
- dev-composer-configuration
- dev-main
- dev-merge-up/1.0.x-into-main
This package is auto-updated.
Last update: 2026-06-04 14:21:50 UTC
README
Provides an ALL-IN-ONE plugin for Psalm
Usage
composer require ghostwriter/psalm-plugin --dev
vendor/bin/psalm-plugin enable ghostwriter/psalm-plugin
vendor/bin/psalm
Feature
-
PHP Standards Recommendations-
Cache -
Container- Resolve return type for the
getmethod.
- Resolve return type for the
-
Clock -
Event Dispatcher -
Link -
Log -
Http
-
-
PHPUnit- Suppress
MissingThrowsDocblockfor classes that extendingTestCase - Suppress
UnusedClassfor classes that extendingTestCase - Suppress
PropertyNotSetInConstructorfor classes that extendingTestCase- Using
assertPreConditionsmethod - Using
setUpmethod - Using
setUpBeforeClassmethod - Using
@beforedocblock - Using
@beforeClassdocblock - Using
#[Before]attribute - Using
#[BeforeClass]attribute - Using
#[PreCondition]attribute
- Using
- Suppress
-
Privatization-
Finalize every class that has no children(!isAbstract && !isAnonymous) -
Finalize every class method on an abstract class if possible(!isAbstract && !isPrivate) -
Change protected class method to private if possible -
Change protected class property to private if possible
-
-
Strict Types -
[Request a Feature]
Changelog
Please see CHANGELOG.md for more information on what has changed recently.
Security
If you discover any security-related issues, please use Security Advisories instead of using the issue tracker.
Credits
License
The BSD-3-Clause. Please see License File for more information.