1
0
Fork 0
Commit Graph

606 Commits (432955e0ae0b83a3c213be62d1a8cd21e2e89c07)

Author SHA1 Message Date
Jordi Boggiano 432955e0ae Fix github url escaping, raw.github.com doesnt like escaped slashes 2013-02-11 09:34:50 +01:00
perprogramming 704837c574 - Sort links and keywords in ArrayDumper result (fixes issue #1499)
- Adapt ArrayDumperTest
2013-01-31 09:55:19 +01:00
Filippo Tessarotto 470adc47df Switched rand() to mt_rand() 2013-01-30 10:44:07 +01:00
Jordi Boggiano a7c950cddd Add support for github-oauth in config command 2013-01-16 16:19:22 +01:00
Jordi Boggiano dea4bdf8f0 Expand {} into a new line before manipulating json, fixes #1481 2013-01-13 17:06:35 +01:00
Jordi Boggiano cea4c05021 Fix parsing of ~ version constraint with unstable versions, fixes #1476 2013-01-13 16:36:40 +01:00
Jordi Boggiano c80cb76b9b Always prepend autoloaders to avoid tools (i.e. phpunit) taking precedence over the project autoloader 2013-01-08 17:34:37 +01:00
Jordi Boggiano c31f4be112 Add test to verify url and and hash are updated, fixes #1460 2013-01-07 20:27:52 +01:00
Jordi Boggiano 78290945b8 Make sure there is a class to find in the file that must be ignored 2013-01-05 23:40:06 +01:00
Jordi Boggiano 514a3cde77 CS fixes 2013-01-05 20:01:58 +01:00
Jordi Boggiano 6ce285b70c Merge remote-tracking branch 'galymzhan/add-cache-files-maxsize' 2013-01-05 19:51:54 +01:00
Jordi Boggiano 1beccf9f0f Fix access of the static loader property 2012-12-25 16:08:36 +01:00
Martin Hasoň 45d7eb5b53 Fixed generating packageMap in AutoloaderGenerater (fixes generating include_paths.php file) 2012-12-17 11:13:07 +01:00
Galymzhan 219b489d01 add size-based limit for files cache, fixes #1321 2012-12-17 01:19:16 +06:00
Galymzhan 69f2230a4c add public method Filesystem#size 2012-12-17 01:04:39 +06:00
Martin Hasoň 03e355f063 Fixed topological sorting of packages in AutoloadGenerator 2012-12-14 15:21:40 +01:00
Jordi Boggiano 51eca2cdfc Fix matching of classes in trailing non-php text, fixes #1409 2012-12-13 17:39:17 +01:00
Aurélien Thieriot e264282ac7 Allowed only * wildcard 2012-12-13 14:06:06 +00:00
Aurélien Thieriot 159badb06b Add ability to use a Regexp when updating packages 2012-12-13 12:24:42 +00:00
Jordi Boggiano aefe3a0b11 Add support for .inc files in classmap, fixes #1396 2012-12-08 21:54:51 +01:00
Jordi Boggiano 6d2b4354f4 Fix test 2012-12-08 21:51:52 +01:00
Jordi Boggiano 23d45f67c1 Fix config merging for arrays 2012-12-08 21:45:21 +01:00
Jordi Boggiano eef64d1189 Update test 2012-12-06 10:26:16 +01:00
Jordi Boggiano b04d938319 Fix test to reduce cross-platform issues 2012-12-06 10:07:57 +01:00
Jordi Boggiano 7d7eb3b2e8 Fix shell command output, fixes #1295 2012-12-06 09:56:27 +01:00
Jordi Boggiano 224934831d Change all github archive URLs to API URLs and handle fallback for those to nodeload 2012-12-05 19:20:52 +01:00
Chris Smith e3838bbc1f Update tests to expect correct URLs for private dist downloads 2012-12-05 18:55:25 +01:00
Jordi Boggiano da1cc39cfd Fix tests 2012-11-29 09:33:51 +01:00
Jordi Boggiano a8f74a0983 Allow notification from locked installs, fixes #1368, fixes #1372, fixes #1369 2012-11-29 09:24:28 +01:00
Jordi Boggiano c5f3a6febd Fix optimized autoloader generation for PSR-0 configs that include non-existent dirs, fixes #1286 2012-11-27 14:23:10 +01:00
Jordi Boggiano de3235a2a4 Add tests to prevent regressions on strings/nowdoc/comment stripping 2012-11-25 14:10:58 +01:00
Jordi Boggiano 5a01ada383 Restrict unicode chars allowed to what php core allows, refs #1361 2012-11-25 14:07:06 +01:00
Jordi Boggiano 2d7c3c9d27 Tweak #1361 to re-enable support for unicode classnames 2012-11-25 13:52:42 +01:00
Igor Wiedler 530991217b Support classmap generation for classes without space after class name
Class names with multi-byte characters are not supported.

Closes #1360.
2012-11-25 12:08:50 +01:00
Jordi Boggiano f1f1ddb66b Fix updates when dev packages have new dependencies (no more double updates needed), fixes #1105 2012-11-22 22:47:19 +01:00
Jordi Boggiano b641f9ea68 Fix tests 2012-11-22 20:03:26 +01:00
Benjamin Eberlei d26932cc7e Fallback to PHP early if proc_open not allowed. 2012-11-19 10:29:32 +01:00
Jordi Boggiano 2719fb7e20 Merge remote-tracking branch 'christeredvartsen/script-dev-aware' 2012-11-18 12:04:19 +01:00
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 2012-11-15 17:16:25 +01:00
Beau Simensen 752fa64704 Added addLink and removeLink to Configuration Source Interface
* Added addLink() and removeLink() to `ConfigSourceInterface`
 * Added addLink() and removeLink() implementations to `JsonConfigSource`
 * Added tests (+ a ton of fixtures) for `JsonConfigSource`
 * Added additional docblocks
 * Minor PSR-1/PSR-2 fixes here and there
2012-11-14 09:03:11 -08:00
Jordi Boggiano de3188ca7d Remove target dir for classmap autoloads of the root package, fixes #1308 2012-11-13 17:09:22 +01:00
Jordi Boggiano 24963fb4c8 Fix handling of arrays in json manipulator 2012-11-13 12:49:23 +01:00
Jordi Boggiano 75da832cd3 Fix parsing of large files that go over the PCRE limits 2012-11-12 12:33:46 +01:00
Victor Berchet 86bb1be61f [ClassMapGeneratot] Filter out non php code
Otherwise files like https://github.com/propelorm/Propel/blob/master/generator/lib/behavior/i18n/templates/queryUseI18nQuery.php
would fail ("class" keyword would not be filtered out by php_strip_whitespace())
2012-11-12 09:15:35 +01:00
Victor Berchet ab48114531 [ClassMapGenerator] Improve error message when the path does not exist
i.e. the composer.json has a typo
2012-11-12 07:33:15 +01:00
Victor Berchet ff5c428d60 [ClassMapGenerator] Refine the findClasses method
The code could not throw
2012-11-12 07:32:47 +01:00
Jordi Boggiano 5f3814bd05 Add test building phar and run functional tests with the phar, refs #1155 2012-11-11 17:09:57 +01:00
Jordi Boggiano 5a763cf010 Fix scanning of empty namespace{} blocks 2012-11-11 16:29:49 +01:00
Jordi Boggiano 62d0ea7656 Circumvent cache in functional tests 2012-11-11 15:52:37 +01:00
Jordi Boggiano 374e16beec Merge branch 'autoloadmulti' 2012-11-11 15:35:28 +01:00