Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 16 15:13
    aik099 commented #139
  • Jul 16 15:12

    aik099 on 1.3.3

    (compare)

  • Jul 16 15:11

    aik099 on master

    Preparing 1.3.3 release (compare)

  • Jul 16 15:04
    aik099 commented #139
  • Jul 16 15:04

    aik099 on master

    ignore phpstan annotations ignore code coverage annotations ignore psalm annotations and 1 more (compare)

  • Jul 16 15:04
    aik099 closed #139
  • Jul 13 14:12
    dimtrovich commented #139
  • Jul 08 17:39
    aik099 commented #139
  • Jul 08 16:05
    dimtrovich review_requested #139
  • Jun 27 18:04
    aik099 commented #139
  • Jun 27 17:14
    dimtrovich opened #139
  • Dec 08 2021 11:36
    mindplay-dk commented #138
  • Dec 06 2021 16:19
    aik099 closed #138
  • Dec 06 2021 16:19
    aik099 commented #138
  • Dec 04 2021 18:59
    aik099 opened #138
  • Nov 07 2021 18:13
    aik099 closed #137
  • Nov 07 2021 18:13

    aik099 on master

    Improve GitHub Actions workflow… Merge pull request #137 from ai… (compare)

  • Nov 07 2021 18:06
    aik099 opened #137
  • Oct 31 2021 11:28

    aik099 on master

    Change build badge to Travis CI (compare)

  • Oct 31 2021 11:25

    aik099 on master

    Move to GitHub Actions (#136) … (compare)

Alex
@aik099
sorry if you thought otherwise from library name
errazki1995
@errazki1995
well you guys have no idea how to fix it ?
you cant make a website though ?
Alex
@aik099
this is no stackoverflow website, where you can ask stuff and people will answer. here people ask stuff about this specific library and we answer.
either you're trolling me or really don't understand the difference between library and website :)
errazki1995
@errazki1995
yea but last time i went on a russian onne about laravel and they helped me in javasscript
about a preloader in the website
and they helped me very well
a nice guy went to my computer he stayed with me like 4 hours fixing the whole website
Russaians are great
Alex
@aik099
I recommend you posting your question on http://stackoverflow.com/ instead. Or maybe on Twitter.
errazki1995
@errazki1995
well yoou know how to help but you want to keep the website 's conditions ha?
Alex
@aik099
It's like coming to vegetable store and asking a piece of meat. That's just won't work out here ;) . Sorry.
This message was deleted
errazki1995
@errazki1995
you have no idea about mysql ?
Rasmus Schultz
@mindplay-dk
@aik099 you really should add ".scrutinizer.yml" to the project, along the lines of this one:
https://github.com/mindplay-dk/unbox/blob/master/.scrutinizer.yml
the project is getting a lousy rating on Scrutinizer because of coupling in the test-suite - I bet it would get a much better rating if it was based only on the actual library code :-)
Alex
@aik099
This can be configured online right on the Scrutinizer CI website as well. I'll do that. So basically you want only source code to be analyzed, not tests?
Hi, @mindplay-dk .
Alex
@aik099
Done, but not sure if that helped. Rating is 5.6. Haven't remembered what it was before.
Rasmus Schultz
@mindplay-dk
Oddly, that made the rating go down by about one point. The way they compute this stuff is bizzarre - simply removing or excluding code can make the code rating worse... I've debated this issue with them before, they didn't seem willing to improve it - maybe you should just remove the badge, it clearly doesn't really have any meaning after all...
Alex
@aik099
Seems, that they don't recalculate score completely on each commit, but rather patch it based on changed files. This way only each file change can cause complete rebuild. I really don't know how they do it.
All my attempts of contacting Scrutinizer CI have not made any success (they simply don't respond to my support tickets).
Rasmus Schultz
@mindplay-dk
No, they recalculate - it's the calculation itself which doesn't make much sense. I wish we could at least come up with a better combined quality metric for projects - simply averaging scores doesn't make any sense. The quality metric on individual classes doesn't really make any sense either - for example, you can improve your score by simply factoring half your methods/properties into an intermediary class; makes no sense, because the net footprint of the public interface of the resulting class is identical to what it was before. Or in other words, you can actually improve your score by increasing complexity. It's messed up. But they seem unwilling to open a debate about it - I tried...
Lester Caine
@lsces
Been quiet since November? ... Just been looking at the demo and it seems to be doing a lot more than the pointless stuff being added directly to PHP. The bit am STILL trying to get my head around is where Reflections, Traits and types actually provide the more important verification annotation such as string lengths and number ranges as demoed by php-annotations. The thing I still have to develop is combining this with the data management from ADOdb and making validation ranges based on other variables from the data such as date of christening being later than date of birth and so on ...
Alex
@aik099
@lsces , you're advertising something here?
Lester Caine
@lsces
No need some pointers trying to merge php-annotations with ADOdb to take advantage of what it is offering.
Alex
@aik099
Doesn't existing demo script explain how to it the library?
Lester Caine
@lsces
Only if I manually copy all of the existing metadata into docbloc @mindplay-dk will understand where I am coming from I think ... he posted php-annotations in a discussion on the php-internals list so now I'm building up a picture of how it can fill a hole that PHP itself seems to be ignoring.
Alex
@aik099
can you post any example annotations that you want php-annotations to handle?
Lester Caine
@lsces
Well my first hurdle is pigging composer ;) But https://github.com/ADOdb/ADOdb/blob/master/datadict/datadict-firebird.inc.php is code I've been using for a number of years which has now been merged back into the main code base, and ADOdb now has composer hooks but the main framework does not. https://github.com/bitweaver is what I'm trying to 'modernise', but since it has been running sites happily for 10 years and IS still running PHP5.2 on a lot, bringing up to PHP7 'style' is a loosing battle :(
Alex
@aik099
Since Composer support for AdoDb isn't a problem, then why can't you use php-annotations to process annotations in the AdoDb?
Lester Caine
@lsces
Well the first question is probably ... is there any point if PHP7.1 re-writes the rule book again :( But more accurate is just where DO I spend time. I still have many sites to bring up to PHP5.4 and everybody else is now screwing up PHP7 to get 7.1 out. PHP is not an easy language thesedays ...
Alex
@aik099
Considering low interest on original annotation support RFC I would stick with php-annotations support, because:
  • it does work on any PHP version
  • it would work even if PHP 7 agrees on annotation RFC
  • not that much people is using PHP 7 to worry about
Still not sure why PHP 7 is becoming so popular considering breaking changes in plugin API, which essentially renders all plugins (via PECL) useless unless their authors make them compatible.
Last time I've checked the Memcache plugin wasn't working and I can't imagine any serious website without memcache.
Lester Caine
@lsces
Now that lines up with my thoughts ... I wish ADOdb had been integrated in place of PDO and then much of the discussion would have never have happened. PDO is certainly not the place to try and add annotation ...
I'm still running eaccelerator on private sites ... STILL faster than PHP7 ...
Alex
@aik099
Yeah, we had some issues with attempts to get annotations from built-in classes or classes, that sub-class built-in ones, like PDO or SplFile.
Lester Caine
@lsces
My biggest stumbling block is 'namespace' ... any attempt to try and add that to bitweaver seem to fail ...
Alex
@aik099
php-annotations respects namespaces. you also can get annotations from classes that doesn't use namespaces.
but it seems that what you're talking about here isn't the "how do I use php-annotations" problem belonging to this chat room, but rather "how do I make another library to work with composer" problem, which isn't topic to be discussed here.
Lester Caine
@lsces
How about 'Install dependencies first ' ;) Have php-annotations added to my local github mirror and now I need to bypass the composer install so I can run the demo stuff.
Alex
@aik099

How about 'Install dependencies first '

Not sure what you mean by that.

Lester Caine
@lsces
Basically how do I use php-annotations WITHOUT composer ... I run php on several servers and have phar disabled along with 'command line' php as they run several versions in parallel in order to keep legacy sites running while bowing to the pressure from the security needs of other code. I don't need composer to run any of the rest of the code base ... http://lsces.org.uk/externals/php-annotations/demo/index.php
Alex
@aik099
You can. Not sure if it's still there, but before php-annotations was using composer it was using it's own auto-loader. If it's missing then:
  • you can create one and submit PR that I would gladly accept
  • you can configure auto-loader you-re using in the project to auto-load php-annotations own classes
Lester Caine
@lsces
It was using Loader.php from the test section. Now I've got the development environment sorted I can rewind prior to composer as necessary ;)
Alex
@aik099
I highly don't recommend doing that due number of bugfixes and improvements since that moment.
I recommend sending a PR where Loader.php is resurrected and updated to support new class placement.
You won't be able to use the library on PHP 5.2 though if that's your intension due namespace usage.