ghostwriter / phpunit-psalm-plugin
Provides a plugin for Psalm
                                    Fund package maintenance!
                                                                            
                                                                                                                                        ghostwriter
                                                                                    
                                                                
Installs: 1 246
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 3
Type:psalm-plugin
pkg:composer/ghostwriter/phpunit-psalm-plugin
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
This package is auto-updated.
Last update: 2025-10-30 19:17:40 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-4-Clause. Please see License File for more information.