Comments (3)
First, let me clear this is not a bug, it's standard behavior by the package manager. If you do a composer require scheb/tombstone
you say "give me any scheb/tombstone version that you can find to be working within my existing version constraints". There is no guarantee to get the latest version. If you want the latest version, you have to tell Composer the version constraint that you want.
The reason why you get v0.8.0 of the package is phpunit/php-text-template: ^1.2.1|^2.0
being declared as a dependency. If you have PHPUnit already installed with a newer version of phpunit/php-text-template
, then the package manager will look for a version that is compatible with this requirement. And that's likely going to be one of the older versions, which do not have a dependency on phpunit/php-text-template
at all.
The way out of this misery is likely to bump up the version constraints on the package dependencies to newer package versions. But I have my doubts that supporting a version range from PHP7.1-compatible to PHP8.3-compatible dependencies is going to work. Likely would need to ditch PHP7 and release a new major version that supports the range of PHP8 versions.
from tombstone.
this explains why it was slightly painful getting this to work initially 😅
from tombstone.
I’ve not had a chance to looking into the differences between different versions and if it can just be added (I doubt it)
but ill like to try!
I think there is value in keeping as many versions of PHP supported as possible as just because a project is on the latest version doesn’t mean it’s well maintained or free of dead code.
If it’s not possible at least documenting the behavior so people are aware.
What are your thoughts?
from tombstone.
Related Issues (18)
- Having a gravedigger ? HOT 1
- StackTraceFrame->getLine returns the last line on multi-line method calls HOT 2
- Configurable tombstone function name HOT 1
- Custom log providers HOT 3
- Custom tombstone extractors
- Checkstyle report
- Compatibility with PHPUnit 9 HOT 4
- Custom matching strategies
- Automation to Place Tombstones and Clean-Up Dead Code HOT 2
- Report Generation for krakjoe/tombs
- Support class methods as tombstone functions HOT 5
- Remove sebastian/finder-facade dependency HOT 2
- Remove line from crc32 to be able to track functions in changed files HOT 2
- HTML report with wrong bootstrap version HOT 3
- HTML report missing figures on "Source" and "Dashboard" pages HOT 1
- Failing test ensureDirectoryCreated_directoryAlreadyCreated_doNothing
- Psalm violition
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 tombstone.