@@ -109,7 +109,7 @@ public function withName($name)
109
109
*/
110
110
public function withAnnotations ($ annotations = null )
111
111
{
112
- if ($ annotations == null ) {
112
+ if ($ annotations === null ) {
113
113
$ this ->annotations = ['group ' => [['value ' => 'test ' ]]];
114
114
} else {
115
115
$ this ->annotations = $ annotations ;
@@ -126,7 +126,7 @@ public function withAnnotations($annotations = null)
126
126
*/
127
127
public function withBeforeHook ($ beforeHook = null )
128
128
{
129
- if ($ beforeHook == null ) {
129
+ if ($ beforeHook === null ) {
130
130
$ this ->beforeHook = [$ this ->testActionBeforeName => [
131
131
ActionObjectExtractor::NODE_NAME => $ this ->testActionType ,
132
132
ActionObjectExtractor::TEST_STEP_MERGE_KEY => $ this ->testActionBeforeName
@@ -146,7 +146,7 @@ public function withBeforeHook($beforeHook = null)
146
146
*/
147
147
public function withAfterHook ($ afterHook = null )
148
148
{
149
- if ($ afterHook == null ) {
149
+ if ($ afterHook === null ) {
150
150
$ this ->afterHook = [$ this ->testActionAfterName => [
151
151
ActionObjectExtractor::NODE_NAME => $ this ->testActionType ,
152
152
ActionObjectExtractor::TEST_STEP_MERGE_KEY => $ this ->testActionAfterName
@@ -167,7 +167,7 @@ public function withAfterHook($afterHook = null)
167
167
*/
168
168
public function withFailedHook ($ failedHook = null )
169
169
{
170
- if ($ failedHook == null ) {
170
+ if ($ failedHook === null ) {
171
171
$ this ->failedHook = [$ this ->testActionFailedName => [
172
172
ActionObjectExtractor::NODE_NAME => $ this ->testActionType ,
173
173
ActionObjectExtractor::TEST_STEP_MERGE_KEY => $ this ->testActionFailedName
@@ -188,7 +188,7 @@ public function withFailedHook($failedHook = null)
188
188
*/
189
189
public function withTestActions ($ actions = null )
190
190
{
191
- if ($ actions == null ) {
191
+ if ($ actions === null ) {
192
192
$ this ->testActions = [$ this ->testTestActionName => [
193
193
ActionObjectExtractor::NODE_NAME => $ this ->testActionType ,
194
194
ActionObjectExtractor::TEST_STEP_MERGE_KEY => $ this ->testTestActionName
@@ -207,7 +207,7 @@ public function withTestActions($actions = null)
207
207
*/
208
208
public function withFileName ($ filename = null )
209
209
{
210
- if ($ filename == null ) {
210
+ if ($ filename === null ) {
211
211
$ this ->filename =
212
212
"/magento2-functional-testing-framework/dev/tests/verification/TestModule/Test/BasicFunctionalTest.xml " ;
213
213
} else {
0 commit comments