Jordi Boggiano
1b34495daa
Some phpstan level 4 fixes
3 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
24abd233ec
Merge branch 'master' into code-improvements
4 years ago
Simon Berger
4e8a36556c
Removed deprecated code from 1.x
4 years ago
Simon Berger
cda6e8bea6
Removed unnecessary property initialization or declaration
4 years ago
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
369e8a2247
Fix indenting
5 years ago
Ken Love
b51cfce8e6
return the upper-most event in chain
5 years ago
Ken Love
81a4f74b5b
Composer\Script\Event should have access to originating event details
5 years ago
Jordi Boggiano
5a56bb6971
Remove BC event and constraint classes
6 years ago
Jordi Boggiano
dad7f89fd5
Fix docs, fixes #6136
8 years ago
Fabien Potencier
07cbb73184
fixed deprecated class usages
8 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Jordi Boggiano
69210d5bc1
Move deprecation notice where it belongs, closes #4065
9 years ago
Jordi Boggiano
3efed220a6
Clean up event dispatching code and make package events extend installer events
10 years ago
Jordi Boggiano
4ce9252255
Avoid passing args to CLI handlers when none are needed, fixes #3332
10 years ago
Jordi Boggiano
efcdb394d3
Rename *-solve-dependencies to *-dependencies-solving
10 years ago
Jordi Boggiano
cec1627acf
Add top level aliases for nonstandard scripts and allow parameter passing, refs #2516
10 years ago
James Moran
ee7961a0f3
Implemented Pre/Post Archive Script Events
...
The script events `pre-archive-cmd` and `post-archive-cmd` can be used
to perform any tasks necessary when archiving the composer project.
This functionality can be used to run unit test or and other build
process before archiving, and can be used to distribute the archive
when completed
11 years ago
Nicolas Bastien
52711d121c
Remove unused use statement.
11 years ago
Nils Adermann
3960edd64e
Turn EventDispatcher into generic solution handling plugins as well
11 years ago
Jordi Boggiano
bd345c3b43
Add IO to proc executor in a few more places to get more debug info out
11 years ago
Sascha Egerer
e31a0f8296
Add pre-status-cmd and post-status-cmd hooks
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
11 years ago
Jordi Boggiano
4b22d7582a
Merge remote-tracking branch 'schmunk42/feature-create-project-events'
11 years ago
Tobias Munk
337f817ba3
adjusted script event name
11 years ago
Tobias Munk
0ac5165f04
updated script events
...
added new POST_ROOT_PACKGE_INSTALL and POST_CREATE_PROjECT event, triggered only in create-project
changed create-package parameter 'package' to be optional, command now looks in working directory for composer project if no param is given
11 years ago
Jordi Boggiano
5d360ab43b
Abort if a script fails to execute, and exit with the exit code of the process, fixes #1943
11 years ago
Taylor Otwell
60cd875cc2
Added "pre-autoload-dump" event.
...
This event is fired before the autoload file is generated, for either
an install or update command.
12 years ago
Jordi Boggiano
5264d0637b
Fix regression added in 33af9eea95
, fixes #1841
12 years ago
Jordi Boggiano
542d10d8fd
Remove all occurrences of getLocalDevRepository and getLocalRepositories calls
12 years ago
Jordi Boggiano
8d55b9cced
Merge remote-tracking branch 'ronnylt/script-event-post-dump-autoload'
...
Conflicts:
tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
12 years ago
Pascal Borreli
46bbf83778
Fixed typos
12 years ago
Ronny López
f627c3c603
Make Event devMode argument optional (false by default).
12 years ago
Ronny López
e5cbf83185
Added post-autoload-dump script event.
12 years ago
Jordi Boggiano
64ca297f97
Autoload dev packages as well for script execution, refs #1430
12 years ago
Jordi Boggiano
7d7eb3b2e8
Fix shell command output, fixes #1295
12 years ago
Christer Edvartsen
4b8813269c
Pass the current dev mode to the event dispatcher, which in turn passes it to the events fired. This can be fetched in scripts to check which mode we are currently in
12 years ago
Jordi Boggiano
de3188ca7d
Remove target dir for classmap autoloads of the root package, fixes #1308
12 years ago
Jordi Boggiano
0568f589fd
Output error only on real errors, not any stderr output
12 years ago
Pascal Borreli
83fd3967f0
Fixed PHPDoc
12 years ago
Pascal Borreli
5eead93250
Fixed typos
12 years ago
Jordi Boggiano
e887f6cea9
Fix CS
12 years ago
John Kary
88650f9333
Add test for intermixing PHP callables and CLI commands in a single event's script stack
...
Wrapped execution of the PHP callable in its own method in order to mock/test it
12 years ago
John Kary
22cab83bb1
PHP callables cannot containing spaces
12 years ago
John Kary
be90496952
Add ability to call CLI-based commands from an event
12 years ago
Mateusz Heleniak
1e458072cf
scripts in pre-*-cmd which are not found (yet) no longer halt composer
12 years ago
Jordi Boggiano
d3cec0399a
CS fixes & do not replace the exception since that removes the stack trace
13 years ago
Jordi Boggiano
b68eb3317b
Merge remote-tracking branch 'OfficineSoftware/master'
13 years ago