iqrf / phpstan-config
IQRF PHPStan configuration.
v0.1.0
2024-11-16 18:57 UTC
Requires
- php: >=8.0
- phpstan/phpstan: ^2.0.1
- phpstan/phpstan-deprecation-rules: ^2.0.0
- phpstan/phpstan-doctrine: ^2.0.0
- phpstan/phpstan-mockery: ^2.0.0
- phpstan/phpstan-nette: ^2.0.1
- phpstan/phpstan-strict-rules: ^2.0.0
- phpstan/phpstan-symfony: ^2.0.0
Requires (Dev)
- contributte/qa: ^0.4
- contributte/tester: ^v0.3.0
This package is auto-updated.
Last update: 2024-11-18 23:09:15 UTC
README
PHPStan configuration for our PHP projects.
Requires PHP 8.1 or higher.
Inspirited by contributte/phpstan licensed under MIT.
Installation
Install the latest version of iqrf/phpstan-config
using Composer.
composer require --dev iqrf/phpstan-config
Usage
Create a phpstan.neon
file in the root of your project with the following content:
includes:
- vendor/iqrf/phpstan-config/phpstan.neon
Run PHPStan with the following command:
vendor/bin/phpstan src
License
This project is licensed under Apache License 2.0:
Copyright 2024 MICRORISC s.r.o.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.