All Projects → taptima → phpstan-custom

taptima / phpstan-custom

Licence: MIT license
Specific PHPStan extensions

Programming Languages

PHP
23972 projects - #3 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to phpstan-custom

dbal-rds-data
A driver to use the aws aurora serverless rds data api in the doctrine database abstraction layer
Stars: ✭ 24 (+60%)
Mutual labels:  doctrine
doctrine-filter
Quickly add advanced filtering/searching and sorting capabilities to any resource in your APIs or Web apps that use Doctrine.
Stars: ✭ 27 (+80%)
Mutual labels:  doctrine
ip
Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
Stars: ✭ 212 (+1313.33%)
Mutual labels:  doctrine
phpstan-dba
PHPStan based SQL static analysis and type inference for the database access layer
Stars: ✭ 163 (+986.67%)
Mutual labels:  phpstan
BetterPhpDocParser
[DEPRECATED] Moved to
Stars: ✭ 45 (+200%)
Mutual labels:  phpstan
doctrine-active-record
Object-oriented CRUD (create, read, update, delete) for Doctrine DBAL
Stars: ✭ 25 (+66.67%)
Mutual labels:  doctrine
DoctrineTranslated
Translated strings for Doctrine
Stars: ✭ 12 (-20%)
Mutual labels:  doctrine
doctrine-read-only-hydrator
Add SimpleObject and ReadOnly hydrators do Doctrine.
Stars: ✭ 54 (+260%)
Mutual labels:  doctrine
woocommerce-stubs
WooCommerce function and class declaration stubs for static analysis.
Stars: ✭ 49 (+226.67%)
Mutual labels:  phpstan
noise-php
A starter-kit for your PHP project.
Stars: ✭ 52 (+246.67%)
Mutual labels:  phpstan
ErrorHeroModule
💎 A Hero for your Zend Framework/Laminas, and Expressive/Mezzio application to log ( DB and Mail ) and handle php errors & exceptions during Mvc process/between request and response
Stars: ✭ 47 (+213.33%)
Mutual labels:  doctrine
MostGenerator
Transformation cartridges for generating Symfony bundles from ModuleStudio models.
Stars: ✭ 21 (+40%)
Mutual labels:  doctrine
CI-Report-Converter
The tool converts different error reporting standards for deep compatibility with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc).
Stars: ✭ 17 (+13.33%)
Mutual labels:  phpstan
phpstan-webmozart-assert
PHPStan extension for webmozart/assert
Stars: ✭ 132 (+780%)
Mutual labels:  phpstan
DoctrineMongoODMModule
Laminas Module for Doctrine MongoDB ODM
Stars: ✭ 83 (+453.33%)
Mutual labels:  doctrine
phpstan-enum
Enum class reflection extension for PHPStan
Stars: ✭ 42 (+180%)
Mutual labels:  phpstan
phpstan-ga
GithubAction for PHPStan
Stars: ✭ 85 (+466.67%)
Mutual labels:  phpstan
swoole-postgresql-doctrine-driver
🔌 A Doctrine DBAL Driver implementation on top of Swoole Coroutine PostgreSQL client
Stars: ✭ 15 (+0%)
Mutual labels:  doctrine
doctrine-orm-batcher
No description or website provided.
Stars: ✭ 27 (+80%)
Mutual labels:  doctrine
annotate-pull-request-from-checkstyle
cs2pr - Annotate a GitHub Pull Request based on a Checkstyle XML-report within your GitHub Action
Stars: ✭ 146 (+873.33%)
Mutual labels:  phpstan

Taptima customs extensions for PHPStan

Latest Stable Version License

This extension provides following features:

  • Validates common entity properties existence of methods set*, get*.
  • Validates boolean entity properties existence of methods set*, is* or has*.
  • Validates ArrayCollection entity properties existence of methods add*, remove* and get*.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this extension:

composer require --dev taptima/phpstan-custom dev-master

Then include extension.neon in your project's PHPStan config:

includes:
    - vendor/taptima/phpstan-custom/extension.neon

and

includes:
    - vendor/taptima/phpstan-custom/rules.neon

This extensions depends on phpstan-doctrine, so you have to configure it.

Contribution

Before to create a pull request to submit your contributon, you must:

  • run tests and be sure nothing is broken

How to run tests

make test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].