Codeception / Codeception/AspectMock

Redefinition of parameter $_ PointcutGrammar.php

Open
#203 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
784
Forks
132
PR merge metrics
No merged PRs in 30d

Description

`Redefinition of parameter $_ in /opt/project/new/vendor/lisachenko/go-aop-php/src/Go/Aop/Pointcut/PointcutGrammar.php on line 61`

my config in _bootstrap yii2 advanced

`require(__DIR__ . '/../vendor/autoload.php');

$kernel = \AspectMock\Kernel::getInstance();
$kernel->init([
'debug' => true,
'includePaths' => [
__DIR__ . '/../../',
]
]);`

where did i go wrong?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the provided Yii2 bootstrap configuration and inspect vendor/lisachenko/go-aop-php/src/Go/Aop/Pointcut/PointcutGrammar.php at line 61. Reproduce the initialization to determine when the parameter redefinition appears, then verify that the bootstrap completes without this error and add or update a regression test if the repository provides one.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.