Skip to content

Commit cf1c211

Browse files
committed
Merge branch '4.2'
* 4.2: update years in license files Fix: Adjust DocBlock \"ParserTest->getParserTestData()\" -> only some more tests access the container getting it from the kernel Replace slave and master by replica and primary Fix erasing cookies issue [Lock] Pedantic improvements for lock [EventDispatcher] Fixed phpdoc on interface update year in license files [VarExporter] fix exporting array indexes [SecurityBundle] Fix traceable voters [Console] Fix help text for single command applications Fix random test failure on lock improve error message when using test client without the BrowserKit component Fixed minor typos in an error message [Event Dispatcher] fixed 29703: TraceableEventDispatcher reset now sets callStack to null with test to dispatch after reset. Fixed minor typos Fix: Method can also return null [Stopwatch] Fixed phpdoc for category name
2 parents 641b33f + 76dac1d commit cf1c211

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2004-2018 Fabien Potencier
1+
Copyright (c) 2004-2019 Fabien Potencier
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

Tests/Parser/ParserTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ public function getParserTestData()
120120
array('a[name]', array('Attribute[Element[a][name]]')),
121121
array("a[ name\t]", array('Attribute[Element[a][name]]')),
122122
array('a [name]', array('CombinedSelector[Element[a] <followed> Attribute[Element[*][name]]]')),
123+
array('[name="foo"]', array("Attribute[Element[*][name = 'foo']]")),
124+
array("[name='foo[1]']", array("Attribute[Element[*][name = 'foo[1]']]")),
125+
array("[name='foo[0][bar]']", array("Attribute[Element[*][name = 'foo[0][bar]']]")),
123126
array('a[rel="include"]', array("Attribute[Element[a][rel = 'include']]")),
124127
array('a[rel = include]', array("Attribute[Element[a][rel = 'include']]")),
125128
array("a[hreflang |= 'en']", array("Attribute[Element[a][hreflang |= 'en']]")),

0 commit comments

Comments
 (0)