Comments (4)
I see. After minor research, I found out: Since v3.3, Process can be instantiated with an array. The string method we used – and I mistakenly removed – is deprecated since Symfony 4.2 – relocated to be used via Process::fromShellCommandline
– and removed in 5.0. Ergo, either we exclude newer or elder Process versions or introduce a case distinction – that latter is my recommendation (for the moment at least, potentially untill a new major version of GitElephant) and implementation in #165. May I ask someone of you to test whether the fix works for you?
from gitelephant.
Can you tell me the version of the Symfony Process component you have installed?
This function was setup in GitElephant v4.1.0, and potentially equals an unnoticed incompatibility between Symfony Process versions.
Does it work if you force composer to install GitElephant < v4.1.0?
from gitelephant.
I'm seeing the same thing and here I'm using symfony/process version 3.4.38 - this is within a Drupal 8 context, hence the symfony 3.x dependency.
from gitelephant.
The fix seems to work for me. Thanks
from gitelephant.
Related Issues (20)
- getBranches() fails when the repository is in a detached state HOT 1
- [Q] What are the necessary permissions? HOT 3
- PHP 7.2 breaks project because of "Object" type-hint HOT 2
- dev-develop branch breaks composer HOT 2
- Symfony 4 HOT 2
- Make LC_ALL call optional on Windows HOT 2
- live example website is down ? HOT 3
- Problems with Stash and Pop HOT 6
- Error calling all the functions HOT 1
- git pull origin HOT 4
- GitElephant for Enterprise HOT 5
- Update composer.json to allow sf5 versions of dependencies HOT 1
- v4.1.1: Call to undefined function GitElephant\Command\is_countable() HOT 3
- Replace Repo::getTree() with a contrib Tree implementation HOT 1
- PHP 8
- git add . HOT 1
- PHP 8.1 compatibility fix for deprecated return
- More PHP 8.1 deprecations HOT 1
- phpcollection/phpcollection seems to be unmaintained HOT 5
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 gitelephant.