Christophe Coevoet
93ffa61e42
Fix the phpdoc in the CssSelector TranslatorInterface
2015-09-21 01:46:31 +02:00
Gregor Harlan
c5123d6881
CS: Pre incrementation/decrementation should be used if possible
2015-04-07 19:54:22 +02:00
Dariusz Ruminski
f99c22c08a
CS: Convert double quotes to single quotes
2015-03-21 12:11:30 +01:00
Jakub Zalas
1997b12f51
Use the correct cssselect library name in docblocks.
...
The original python library is called cssselect, not cssselector.
2014-12-26 23:22:03 +01:00
Graham Campbell
83c15db887
[2.3] CS And DocBlock Fixes
2014-12-22 16:58:09 +01:00
Graham Campbell
443307edc1
Docblock fixes
2014-11-30 13:33:44 +00:00
Disquedur
51312d31cc
Remove aligned '=>' and '='
2014-10-26 08:30:58 +01:00
Christian Flothmann
38e9623ca4
don't raise warnings when exception is thrown
...
`array_map()` raises a warning when an exception is thrown inside the
callback (see https://bugs.php.net/bug.php?id=55416 ). To avoid these
warnings, `selectorToXPath()` is applied inside the loop.
2014-10-09 14:30:02 +02:00
Christophe Coevoet
994f81fd86
Refactored the CssSelector to remove the circular object graph
...
This allows the translator and its extensions to be garbage collected
based on the refcount rather than requiring the garbage collector run,
making it much more likely to happen at the end of the
CssSelector::toXPath call.
2014-06-27 09:58:31 +02:00
Fabien Potencier
e96b018805
fixed types in phpdocs
2014-04-16 12:30:19 +02:00
Fabien Potencier
3c9c10f3a0
made phpdoc types consistent with those defined in Hack
2014-04-15 07:41:45 +02:00
Fabien Potencier
7f9a366529
removed unneeded use statements
2014-01-01 08:52:14 +01:00
Fabien Potencier
4c0bfd3313
fixed CS
2013-07-01 14:24:43 +02:00
Dmitrii Chekaliuk
2d9027d9a2
[CssSelector] Fix :nth-last-child() translation
2013-05-17 02:48:20 +03:00
dantleech
e655120f05
Enforce sprintf for exceptions
2013-04-11 08:50:46 +02:00
Jean-François Simon
c6f87d0026
[CssSelector] fully rewritted component
...
Squashed commits:
[CssSelector] removed previous implementation
[CssSelector] rewriting, step 1
[CssSelector] rewriting, step 2
[CssSelector] rewriting, step 3
[CssSelector] rewriting, step 4
[CssSelector] rewriting, step 5
[CssSelector] rewriting, step 6
[CssSelector] fixed shortcuts regex
[CssSelector] tests, step1
[CssSelector] tests, step2
[CssSelector] tests, step3
[CssSelector] tests, step4
[CssSelector] fixed problems based @stof's on feedback
[CssSelector] tests, step5
[CssSelector] tests, step6
[CssSelector] tests, step7
[CssSelector] added my name in composer.json
2013-03-23 19:04:09 +01:00