On 26 May 2017 at 13:23, li...@rhsoft.net <li...@rhsoft.net> wrote: > does that also fix the issue https://bugs.php.net/bug.php?id=74394
Dear Anonymous, That "issue" is actually 3 issues. case 1 class A { public function test($a) {} } class B extends A { public function test(string $a) { } } This breaks LSP - because B::test doesn't accept all the things that A::test can accept and so is unlikely to ever be supported. case 2 class A { public function test($a) {} } class B extends A { public function test($a): string {} } This works since return types were introduced. case 3 class A { public function test($a): string { } } class B extends A { public function test($a) {} } This breaks LSP - anything that is calling A::test would only expect a string to be returned, but B::test can return anything so is unlikely to ever be supported. btw I assume that li...@rhsoft.net and spam2 at rhsoft dot net are the same anonymous person. Quoting some of your words: spam2 at rhsoft dot net > > maybe you guys also don't see the possibility of shared-libraries used by > hundrets of > applications by just use "include_path" when you talk about "deplyoment" and > "2017".... > > that is not possible with a stupid fatal error li...@rhsoft.net wrote: > > frankly get out of my sight with composer > > i maintain the whole webstacke for many years at my own (rpm packages) and so > the Fedora > repos have excluded anything relevant to PHP - trying to build > composer by just download > the src.rpm ends in a ton of build dependencies > > we maintain a large codebase (250000 LOC) over 15 years Your tone of words is quite rude and dismissive of other people both on this list and in the bug reports. That's really not a good way to persuade people, but particularly so when you seem to not understand subtle computer science principles but instead want PHP to be customised for your own way of working. If you're installing Composer through an RPM and it's requiring you to install lots of dependencies, something has gone horribly wrong. Composer is a standalone phar executable which just needs a normal PHP environment. I'd strongly recommend having another go at using it, and in general opening yourself up to new ways of doing things rather than being rude to people who don't share your way of working. cheers Dan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php