Comments (4)
I tried updating the flysystem version but the breaking changes need updates to Strauss's code.
I hesitate to do that because I want unit tests against the file system operations so I feel that should be done at the same time.
It wasn't me who chose flysystem, so I'm open to suggestions on what library is best for filesystem access.
from strauss.
@BrianHenryIE Flysystem is definitely the best package to use for accessing the file system which is why I'm using it for my package as well. I'm not really sure how to go about fixing the conflict which is ironic since Strauss is meant to solve that problem for other packages but can't for itself
from strauss.
@BrianHenryIE I basically got around this by not installing the package as a global one but having a script that downloads the phar file and uses that instead which seems to be working fine for me:
"scripts": {
"strauss": [
"test -e strauss.phar || curl -o strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.14.0/strauss.phar",
"php strauss.phar"
],
"post-install-cmd": [
"@strauss"
],
"post-update-cmd": [
"@strauss"
]
},
from strauss.
I think that will be the recommended way to use Stauss in future. I plan to add CLI parameters so it can mostly be used without the Composer extra
key.
from strauss.
Related Issues (20)
- Namespaces of static methods not replaced inside array square brackets
- Fails with autoload psr-4 key with array as entry
- Workflows are referencing vulnerable actions HOT 1
- Fatal error: Uncaught Error: Class "BrianHenryIE\Strauss\Console\Application" not found HOT 4
- Error on call to undefined WP function HOT 2
- Problem with package name `"Blockchain/Blockchain"` HOT 1
- Unprefixed static function call in ternary operation
- Double namespacing issue when using nested namespace prefix HOT 1
- #[\ReturnTypeWillChange] becomes #[\MY_CUSTOM_PREFIX_ReturnTypeWillChange]
- Local symlinked repositories fail HOT 2
- Not prefixing all classes? HOT 3
- Incorrect binary name when installed using composer HOT 2
- Good idea to set `target_directory`to 'vendor'? HOT 1
- Feature: Change WordPress translation domain HOT 1
- Still works? HOT 3
- Add warning about using composer packages installed with symlink HOT 3
- Issue bundling AWS S3 package HOT 3
- Troubles Namespacing WPGraphQL HOT 5
- `exclude_from_copy` does not apply to `files` autoloaders
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 strauss.