Comments (9)
It's mentioned in PHPStan 0.12 release notes and this article.
I've removed the mention of phpstan-shim
in phpstan/phpstan README and I'm yet to update phpstan-shim repo README itself.
from phpstan-shim.
btw, is nikic/php-parser really autoloaded from the phar ? If no, the replacement rule should be dropped entirely.
from phpstan-shim.
phpstan-shim will be obsoleted on Tuesday. phpstan/phpstan
0.12 will consist of a single PHAR file and it doesn't have the replace
problem.
from phpstan-shim.
@ondrejmirtes We're going back to my previous question on another issue: Symfony 5 support where you suggested to use phpstan-shim
. Sure, it will be obsolete, but projects that will still rely on PHPStan 0.11 and want to upgrade to Symfony 5 cannot use phpstan-shim in certain cases.
See here for the issue I'm having because of the replace
: composer/composer#8456
from phpstan-shim.
You can use phpstan/phpstan dev-master now or wait until Tuesday when it will be stable.
from phpstan-shim.
I can, but that will upgrade PHPStan to 0.12. Not something I can tackle right now, since on level 7 I'm currently using, upgrading results in way too much errors. Basically, if I want to keep using 0.11 for a while, I can't upgrade to Symfony 5.
from phpstan-shim.
You can use the baseline and be on 0.12: https://medium.com/@ondrejmirtes/phpstans-baseline-feature-lets-you-hold-new-code-to-a-higher-standard-e77d815a5dff It was created so that everyone can upgrade immediately.
from phpstan-shim.
Hm, okay. I wasn't aware of the baseline feature. Thanks!
from phpstan-shim.
phpstan-shim will be obsoleted on Tuesday.
phpstan/phpstan
0.12 will consist of a single PHAR file and it doesn't have thereplace
problem.
Is this documented somewhere?
The README.md
on phpstan/phpstan still says:
You can also use the phpstan/phpstan-shim package to install PHPStan via Composer without the risk of conflicting dependencies.
There is also no note about this in the README.md
of this repository.
from phpstan-shim.
Related Issues (20)
- PHPstan conf directory HOT 1
- Global install is not working HOT 9
- On windows: "'bash' is not recognized as an internal or external command," HOT 3
- RootDir phar:// prefix HOT 2
- %rootDir% users phar:// prefix HOT 7
- Conflict with php-di HOT 10
- nikic/php-parser dependency HOT 3
- Problem with nikic/php-parser replaced dependency HOT 4
- Extensions cannot be included, in a portable way, when using global install HOT 3
- sensiolabs-de/deptrac-shim HOT 1
- Bad perf impact for the bootstrap.php file HOT 9
- Plans for bleedingEdge HOT 1
- This package should not replace nikic/php-parser HOT 7
- Cannot uninstall in projects depending on nikic/php-parser HOT 1
- bootstrap.php prevents autoloading of certain files from shared dependencies with project HOT 4
- Bug in relative path for phar file HOT 8
- Level in configuration file is not taken into account HOT 2
- 0.8.5 release HOT 3
- Sign phar file in separate file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpstan-shim.