| Subject | Details |
| :-------------------- | :------------------------------------------------------- |
| Issue type | Feature request |
| Plugin | Php Inspections (EA Extended), v3.0.8.1 |
| Language level | PHP 5.6 and 7.2 |
class MainModel extends AbstractModel
{
use TSerializer; // nothing warning
use TSerializer2; // nothing warning
// ....
}
trait TSerializer
{
public function someMethod() {
// ... code
}
}
trait TSerializer2
{
public function someMethod() {
// ... code
}
}
PHP Returns PHP Fatal error: Trait method someMethod has not been applied, because there are collisions with other trait methods on App\Model\MainModel in ...
class MainModel extends AbstractModel
{
use TSerializer;
use TSerializer2; // There Warning for Fatal error: Trait method someMethod has not been applied, because there are collisions with other trait methods
// ....
}
PhpStorm 2018.3
Build #PS-183.4284.150, built on November 21, 2018
JRE: 1.8.0_152-release-1343-b15 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.19.4-arch1-1-ARCH
Hi @JanGalek, thank you for a great proposal.
I'm not sure if you aware or not, but we split the project into OSS and commercial plugins (EA Extended is OSS, EA Ultimate is commercial), and this ticket should land into Ultimate (here details about roadmap criteria). I want to ask if you are fine with this.
Hi @kalessil its mean, than I should by license OSS ? If Yes, I try install it by phpstorm and dont know where I can write serial key :), but yes I'm fine with this.
Hi @JanGalek, if you are in OSS camp then using Php Inspections (EA Extended) is a great option.
Php Inspections (EA Ultimate) has more rules and you can try to evaluate it for 2 weeks free, after that you'll need a license. When it comes to the license, perhaps your company would agree to by one for you - the Ultimate pays back within a few weeks.
Great, thank you =)
Hi @kalessil I paid (OSS 5$/mnt), and now waiting for license :) And Can I use it for 2 phpstorms (personal + company) ?
Super! Please check Patreon messages: it already there =)
@kalessil so now I can disable Extended ? :)
EDIT: I see milestone is for 2.0.10, but in PHPSTORM I see v2.0.11 :)
Yes, moreover you can remove it - settings will be picked up properly =)
Also yes, I didn't actualize tickets yet.
Implemented!