profile
viewpoint

thecodingmachine/tdbm 94

The Database Machine is a PHP ORM that requires no configuration. The object model is deduced from the database model.

thecodingmachine/magic-query 18

A very clever library to use SQL prepared statement with a variable number of parameters... and much more!

homersimpsons/nom-zip 1

A Zip Parser written using nom

homersimpsons/2048 0

Jeu du 2048 avec IA

homersimpsons/calculateur-allure 0

Un calculateur d'allure, basé sur plans-entrainement.net

homersimpsons/cov-mark 0

Ensure that your tests are using the right conditions

homersimpsons/dbal 0

Doctrine Database Abstraction Layer

homersimpsons/es-qb 0

An Elasticsearch Query Builder

homersimpsons/euler 0

Answers to euler's problem in rust

homersimpsons/freshdesk-php-sdk 0

Freshdesk API v2 PHP library

pull request commentthecodingmachine/tdbm

findObjectByPk: Add `className` to avoid using schema inspection during runtime

@homersimpsons ... seems the change is breaking inheritance :(

homersimpsons

comment created time in 10 hours

pull request commentthecodingmachine/discovery

Fixed a bug with unexpected "action" key

Coverage Status

Coverage decreased (-0.6%) to 98.538% when pulling f43edeb5a96d0baeca1d0a47939812abc8db4338 on arturskonfino:arturskonfino-patch-1 into c5d15800bdd7ddf8390d00eeb9e570142eb69f10 on thecodingmachine:master.

arturskonfino

comment created time in 12 days

issue openedthecodingmachine/discovery

Not possible to remove the asset

As per documentation (https://thecodingmachine.github.io/discovery/doc/remove.html), It seems like it should be possible to remove an asset added by the other package with the special "action" key in discovery.json.

But in that case, composer install results in this error from discovery: Unexpected key(s) in discovery.json from package ***: "action"

created time in 15 days

issue openedthecodingmachine/tdbm

TDMService event listening system

For example, we would like to be able to listen to the TDBM "save" event witch is one of its method and trigger a log afterwards. On Doctrime ORM you can listen to the "prePersist" or "postRemove" event and trigger an action once these events happen. But actually when we are using TDBM to persist in the DataBase we don't have theses functionalities.

created time in 23 days

pull request commentthecodingmachine/tdbm

Adding documentation to support several databases

Codecov Report

Merging #234 into master will decrease coverage by 0.09%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #234      +/-   ##
============================================
- Coverage     97.54%   97.44%   -0.10%     
  Complexity     1479     1479              
============================================
  Files            62       62              
  Lines          4152     4152              
============================================
- Hits           4050     4046       -4     
- Misses          102      106       +4     
Impacted Files Coverage Δ Complexity Δ
src/QueryFactory/FindObjectsQueryFactory.php 97.61% <0.00%> (-2.39%) 9.00% <0.00%> (ø%)
src/TDBMService.php 96.43% <0.00%> (-0.60%) 180.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4beb009...433ff99. Read the comment docs.

moufmouf

comment created time in a month

PR opened thecodingmachine/tdbm

Adding documentation to support several databases

For the Symfony bundle only

+54 -1

0 comment

1 changed file

pr created time in a month

pull request commentthecodingmachine/discovery

Composer2

Thanks a lot for the PR!

recca0120

comment created time in a month

created tagthecodingmachine/discovery

tagv1.3.0

Publish and discover assets in your PHP projects.

created time in a month

release thecodingmachine/discovery

v1.3.0

released time in a month

push eventthecodingmachine/discovery

recca0120

commit sha 90035a99ee795a4989cfcc86d9ac45ea4ad29cb2

must be absolute path

view details

recca0120

commit sha 6b8501274519e4a1da42c9fdc85ab06969bf6da2

composer 2

view details

recca0120

commit sha 1049e77c6048b46cad4b296cd16a6ffc3981f203

phpunit 6

view details

recca0120

commit sha 58dcc98b253e49283d684a8fa04187435c0db09e

scrutinizer config

view details

David Négrier

commit sha 3aefad41a3a13003ece171bb48ba900abde7d357

Upgrading plugin to Composer 2

view details

David Négrier

commit sha 0f5e2c37a07dd99ded7db9fd4676e391723c3862

Upgrading all dependencies: - switching from PHPUnit 5 to PHPUnit 8 - switching from Humbug to Infection - Minimum version now: PHP 7.2

view details

David Négrier

commit sha 684c029c545dad92a569eeba47e31fa0ffff6eaf

Upgrading PHP version

view details

David Négrier

commit sha ede667b8fb68458f157eb1bfe1e4bf2da275b68c

Fixing namespace

view details

David Négrier

commit sha e7d0abd9a3ce67127711ffe43194f3dc95f85412

Fixing build

view details

David Négrier

commit sha addbdf49dd46795663e3e4239cc4757e54c13ec0

Upgrading minimum version for Scrutinizer

view details

David Négrier

commit sha 3be217b053066a6a69a94b95963554d9fe0dcbc6

Trying to enable Travis PHP 7.3 again

view details

David Négrier

commit sha 50835d53b242cb649e07e8b2126842f4726af5e8

Trying to set PHP version in Scrutinizer

view details

David Négrier

commit sha c5d15800bdd7ddf8390d00eeb9e570142eb69f10

Merge pull request #10 from moufmouf/composer2 Upgrading plugin to Composer 2

view details

push time in a month

PR merged thecodingmachine/discovery

Composer2
+104 -59

4 comments

19 changed files

recca0120

pr closed time in a month

PR merged thecodingmachine/discovery

Upgrading plugin to Composer 2

This PR upgrades the Discovery plugin to be compatible with the new 2.0 API

+142 -83

2 comments

24 changed files

moufmouf

pr closed time in a month

pull request commentthecodingmachine/discovery

Composer2

I'll probably simply publish a new version for PHP 7.2 + Composer 2

recca0120

comment created time in a month

pull request commentthecodingmachine/discovery

Composer2

I think you can publish a version for php7.0 and publish another version new version for php7.2

recca0120

comment created time in a month

pull request commentthecodingmachine/discovery

Composer2

Oh thanks! I was working on the exact same PR!

recca0120

comment created time in a month

pull request commentthecodingmachine/discovery

Composer2

Coverage Status

Coverage remained the same at 99.102% when pulling bfb780a58ee7250ab57da18e96ecaafe47ca0471 on recca0120:composer2 into 8bad73dad00afc1aa7bebefd0675c5e2f3b1094a on thecodingmachine:master.

recca0120

comment created time in a month

PR opened thecodingmachine/discovery

Composer2
+17 -6

0 comment

5 changed files

pr created time in a month

pull request commentthecodingmachine/discovery

Upgrading plugin to Composer 2

can we get this fix released ??

moufmouf

comment created time in a month

pull request commentthecodingmachine/tdbm

handle multi-line expression in unchecked OrderBy

Mmmm... the fix breaks the unit tests. Something must be wrong with this.

Lekkimone92

comment created time in 2 months

pull request commentthecodingmachine/tdbm

handle multi-line expression in unchecked OrderBy

Coverage Status

Coverage remained the same at 97.187% when pulling 1866466f5ea9825bd26370e6c08727e3c2c2540e on Lekkimone92:patch-1 into 5a7bb2ed3be4802660794ee08bade0564b08def5 on thecodingmachine:5.1.

Lekkimone92

comment created time in 2 months

PR opened thecodingmachine/tdbm

handle multi-line expression in unchecked OrderBy
+1 -1

0 comment

1 changed file

pr created time in 2 months

pull request commentthecodingmachine/tdbm

Fix ORA-00905 for pivot table: Oracle cannot alias joined tables

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@58b14a5). Click here to learn what that means. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #232   +/-   ##
=========================================
  Coverage          ?   97.08%           
  Complexity        ?     1479           
=========================================
  Files             ?       62           
  Lines             ?     4152           
  Branches          ?        0           
=========================================
  Hits              ?     4031           
  Misses            ?      121           
  Partials          ?        0           
Impacted Files Coverage Δ Complexity Δ
src/Utils/ManyToManyRelationshipPathDescriptor.php 100.00% <100.00%> (ø) 10.00 <0.00> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 58b14a5...16ad42f. Read the comment docs.

homersimpsons

comment created time in 2 months

issue openedthecodingmachine/yaml-tools

Comment deleting in list elements.

Hello! It seems that in case deletion list element comments deleted placed after element, not preceding comments. For example, original list:

alarm-severity-config:
  schema-version: 1.0.0
  alarm-severity:
    # <Software Failure>
    # An error has occurred within a software program that has caused incorrect results
  - index: 1
    severity: 4
    # <CPU Usage Threshold Crossed>
    # A Central Processing Unit has issued an unacceptable number of instructions to accomplish a task
  - index: 2
    severity: 4
    # <HDD Usage Threshold Crossed>
    # A storage device has very little or no space available to store additional data
  - index: 3
    severity: 4

Deleting first list element:

-> % yaml-tools delete alarm-severity-config alarm-severity 0 -i ./initial/alarm_severity.yaml -o ./final/alarm_severity.yaml

Result:

alarm-severity-config:
  schema-version: 1.0.0
  alarm-severity:
    # <Software Failure>
    # An error has occurred within a software program that has caused incorrect results
  - index: 2
    severity: 4
    # <HDD Usage Threshold Crossed>
    # A storage device has very little or no space available to store additional data
  - index: 3
    severity: 4

Actually it`s will be helpful if user can choose which side (preceding or subsequent) will be deleted.

created time in 2 months

issue commentthecodingmachine/tdbm

Multiple column FKs

This should be fixed in 5.1.12. Awaiting the port to the master branch to close this issue.

nguyenk

comment created time in 2 months

created tagthecodingmachine/tdbm

tagv5.1.12

The Database Machine is a PHP ORM that requires no configuration. The object model is deduced from the database model.

created time in 2 months

release thecodingmachine/tdbm

v5.1.12

released time in 2 months

pull request commentthecodingmachine/tdbm

Fix/deeper composite fk

@homersimpsons Can you backport this to the master branch?

homersimpsons

comment created time in 2 months

push eventthecodingmachine/tdbm

Guillaume

commit sha 1475df5fdf47c4bb23973914448dfb588ca7abc3

Deeper Composite FK: Test Case

view details

Guillaume

commit sha 94e51b0fbe4eaccf98ed605e81abf5803765462b

Deeper Composite FK: Implementation

view details

Guillaume

commit sha bd3f65349e086fcc7e3b4ebf7c8d5c817a8cda9d

Deeper Composite FK: Fix flatten in case of inheritance

view details

Guillaume

commit sha 9d060fc5f70705b5d604a60c42d72444a79334e0

Deeper Composite FK: Fix ternary

view details

David Négrier

commit sha 5a7bb2ed3be4802660794ee08bade0564b08def5

Merge pull request #230 from homersimpsons/fix/deeper_composite_fk Fix/deeper composite fk

view details

push time in 2 months

PR merged thecodingmachine/tdbm

Reviewers
Fix/deeper composite fk

Fixes #207

This fixes a corner case in serialization code about a schema looking like:

  summary_tdh  |  summary     |  entity
  entity_id   <=> entity_id  <=> entity_id
  summary_id  <=> summary_id

Where <=> reflects a Foreign Key

+25 -6

3 comments

4 changed files

homersimpsons

pr closed time in 2 months

more