Comments (4)
I think it would be best if you created a small repo with reproduction of this problem and submitted it as a Composer issue. I'm interested in it so please link it here afterwards.
from phpstan-shim.
nikic/php-parser
is referenced so that PHPStan extensions can work with the shim.
To sum up your issue: You have nikic/php-parser
in your require
section and phpstan-shim
in your require-dev
section. When you composer install --no-dev
, neither nikic/php-parser
nor phpstan-shim
gets installed. Am I right?
from phpstan-shim.
Correct, altough nikic/php-parser
is a require
dependency of one of my require
dependencies, so it's not a direct dependency.
However when debugging I also tested with requiring nikic/php-parser
as a direct dependency but with the same results.
I ended up downloading the phar myself as I don't use any extensions.
from phpstan-shim.
This weekend I'll have a look and submit it as a composer issue. Pretty confident I can reproduce it quite easily.
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
- 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
- The replacement rule for nikic/php-parser should be an exact version based on what is inside the phar HOT 9
- 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.